package com.lanhai.mind.interfaces;

import com.lanhai.mind.beans.ControlAreaBean;
import com.lanhai.mind.dao.ControlAreaDao;

/**
 *  
 * @author zhengwei
 *
 */
public interface IControlArea {
	
	ControlAreaBean getBean(int areaId);
	ControlAreaDao getDao(int areaId);
	
	void saveCache(ControlAreaBean bean);
  
	int getAreaId(int x, int y);

	boolean lockArea(int areaId, int agvId);
 

	void unlockArea(int areaId);
 

	boolean isLocker(int areaId, int agvId);
	void removeStopAgv( int agvId);

	void addStopAgv(int areaId, int agvId);

	boolean isService(int areaId);
 
}
